package com.example.demo.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.demo.entity.Commdity;
import com.example.demo.entity.Dondxi;

import com.example.demo.mapper.CommdityMapper;
import com.example.demo.mapper.ObjectMapper;
import com.example.demo.service.CommdityService;
import com.example.demo.service.ObjectService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class Objectlmpl extends ServiceImpl<ObjectMapper, Dondxi> implements ObjectService {
    @Resource
    public ObjectMapper objectMapper;

    public List<Dondxi> userobject(String username)
    {
        return objectMapper.findobject(username);
    }
}
